package com.gscitysfy.cus.drain.modules.command.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gscitysfy.cus.drain.modules.command.entity.InstructCar;

import java.util.List;

/**
 * <p>
 * 资源调度 Mapper 接口
 * </p>
 *
 * @author Administrator
 * @since 2022-10-24 18:57:15
 */
public interface InstructCarMapper extends BaseMapper<InstructCar> {

    /**
     * 通过车辆查询未处理的任务
     *
     * @param carId
     * @return
     */
    List<InstructCar> fetchByUsefulResourceCar(Long carId);
}
